-- GENERATED SPELL FOR [Skullsplitter Scout] --


function spell0_782(pUnit, Event) --@Head Crack,n/a--
pUnit:FullCastSpellOnTarget(3148,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_782', 20301, 1)
end

function Sorts_782(pUnit, Event)
local choix_sorts_782 = math.random(0, 0)
if choix_sorts_782 == 0 then
pUnit:RegisterEvent('spell0_782', 1, 1)
end
end

function mob782_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_782', math.random(1500, 3000), 1)
end

function mob782_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob782_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob782_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(782, 1, 'mob782_Action')
RegisterUnitEvent(782, 2, 'mob782_Leave')
RegisterUnitEvent(782, 3, 'mob782_Kill')
RegisterUnitEvent(782, 4, 'mob782_Die')
